

CC=gcc
CFLAGS= -Wall -Werror -g
INC_PATH=

#vpath = src:headers
#vpath %.h ../headers
#vpath %.c src

SRC=$(wildcard *.c)
OBJ=$(patsubst %.c,%.o,$(wildcard *.c))

EXE=x_x

ifdef DEBUG
CFLAGS += -DDEBUG
endif

EXE:$(OBJ)
	@echo	
	$(CC) -o $(EXE) $(OBJ)  -lssl -lcrypto -lpthread

.PHONY: clean
clean:
	-rm $(OBJ) $(EXE)
